package client;

import javax.swing.JFrame;

import interfaceProject.Student;
import interfaceProject.Student_chinese;
import interfaceProject.Student_music;
import interfaceProject.Student_softwareEngineering;
import java.awt.GridLayout;
import javax.swing.JLabel;

public class InterfaceProgrammingClient extends JFrame{
	public InterfaceProgrammingClient() {
		getContentPane().setLayout(new GridLayout(3, 0, 0, 0));
		
		Student chStu = new Student_chinese();
		Student msStu = new Student_music();
		Student swStu = new Student_softwareEngineering();
		
		JLabel lbl1 = new JLabel(chStu.excecute());
		getContentPane().add(lbl1);
		
		JLabel lbl2 = new JLabel(msStu.excecute());
		getContentPane().add(lbl2);
		
		JLabel lbl3 = new JLabel(swStu.excecute());
		getContentPane().add(lbl3);
			
		
	}
	/**
	 * 
	 */
	private static final long serialVersionUID = -8526907616732602323L;

	public static void main(String args[])
	{
		InterfaceProgrammingClient view = new InterfaceProgrammingClient();
		view.setBounds(200, 200, 400, 300);
		view.setVisible(true);
		
	}
}
